package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-06-04
 * Time: 8:55
 */
public class Derived extends Base{
    int a = 11;
    int c = 3;

    public void tesDerived(){
        System.out.println("tesDerived============");
    }

    public void testA() {
        System.out.println("D   testA()");
    }

    public void print(){
        super.testA();
        System.out.println(super.a);
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }

}
